home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / m09intro.dir / 00029.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  1.7 KB  |  77 lines

  1. on exitFrame
  2.   global gPause
  3.   if rollOver(5) then
  4.     puppetSprite(5, 1)
  5.     set the castNum of sprite 5 to cast "b048.roll"
  6.     updateStage()
  7.   else
  8.     set the castNum of sprite 5 to cast "b048"
  9.     updateStage()
  10.   end if
  11.   if rollOver(6) then
  12.     puppetSprite(6, 1)
  13.     set the castNum of sprite 6 to cast "b018.roll"
  14.     updateStage()
  15.   else
  16.     set the castNum of sprite 6 to cast "b018"
  17.     updateStage()
  18.   end if
  19.   if rollOver(7) then
  20.     puppetSprite(7, 1)
  21.     set the castNum of sprite 7 to cast "b019.roll"
  22.     updateStage()
  23.   else
  24.     set the castNum of sprite 7 to cast "b019"
  25.     updateStage()
  26.   end if
  27.   if rollOver(8) then
  28.     puppetSprite(8, 1)
  29.     if gPause then
  30.       set the castNum of sprite 8 to cast "b023.roll"
  31.     else
  32.       set the castNum of sprite 8 to cast "b021.roll"
  33.     end if
  34.   else
  35.     if gPause then
  36.       set the castNum of sprite 8 to cast "b023"
  37.     else
  38.       set the castNum of sprite 8 to cast "b021"
  39.     end if
  40.   end if
  41.   if rollOver(9) then
  42.     puppetSprite(9, 1)
  43.     set the castNum of sprite 9 to cast "b020.roll"
  44.     updateStage()
  45.   else
  46.     set the castNum of sprite 9 to cast "b020"
  47.     updateStage()
  48.   end if
  49.   if rollOver(10) then
  50.     puppetSprite(10, 1)
  51.     set the castNum of sprite 10 to cast "b022.roll"
  52.     updateStage()
  53.   else
  54.     set the castNum of sprite 10 to cast "b022"
  55.     updateStage()
  56.   end if
  57.   if rollOver(11) then
  58.     puppetSprite(11, 1)
  59.     set the castNum of sprite 11 to cast "b013.roll"
  60.     updateStage()
  61.   else
  62.     set the castNum of sprite 11 to cast "b013"
  63.     updateStage()
  64.   end if
  65.   mainMenuRollovers()
  66.   updateStage()
  67.   if gPause then
  68.     go(the frame)
  69.   else
  70.     startTimer()
  71.     repeat while the timer < 240
  72.       go(the frame)
  73.     end repeat
  74.     go(1, "m09.dir")
  75.   end if
  76. end
  77.